package com.yanqu.road.entity.log.cross.xingyou;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_log_xing_you_wish_process", autoSave = true, desc = "行游山水-祈愿进度", eventName = "mouwater_wish", dataUpload = true, uploadCk = true, isCross = true)
public class LogCrossXingYouWishProcess extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    @FieldTypeAnnotation(isIndex = true, desc = "分组id")
    private int groupId;
    @FieldTypeAnnotation(desc = "队伍ID", isIndex = true, dataAttribute = "team_id")
    private int teamId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "轮次", dataAttribute = "round_id")
    private int round;

    @FieldTypeAnnotation(desc = "消耗银票", dataAttribute = "mouwater_siluse")
    private int cost;

    @FieldTypeAnnotation(desc = "增加进度", dataAttribute = "mouwater_add")
    private int addProcess;

    @FieldTypeAnnotation(desc = "当前进度", dataAttribute = "mouwater_rate")
    private int curProcess;

    @FieldTypeAnnotation(desc = "获得金页子", dataAttribute = "mouwater_golget")
    private int goldCoin;

    @FieldTypeAnnotation(desc = "时间")
    private Date logTime;

    public LogCrossXingYouWishProcess(int activityId, int teamId, long userId, int round, int cost, int addProcess, int curProcess, int goldCoin) {
        this.activityId = activityId;
        this.teamId = teamId;
        this.userId = userId;
        this.round = round;
        this.cost = cost;
        this.addProcess = addProcess;
        this.curProcess = curProcess;
        this.goldCoin = goldCoin;
        this.logTime = new Date();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    @Override
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public int getCost() {
        return cost;
    }

    public void setCost(int cost) {
        this.cost = cost;
    }

    public int getAddProcess() {
        return addProcess;
    }

    public void setAddProcess(int addProcess) {
        this.addProcess = addProcess;
    }

    public int getCurProcess() {
        return curProcess;
    }

    public void setCurProcess(int curProcess) {
        this.curProcess = curProcess;
    }

    public int getGoldCoin() {
        return goldCoin;
    }

    public void setGoldCoin(int goldCoin) {
        this.goldCoin = goldCoin;
    }

    public Date getLogTime() {
        return logTime;
    }

    public void setLogTime(Date logTime) {
        this.logTime = logTime;
    }
}
